$(document).ready(function() {

	var right = $("#RightID").text();
	if(right=="Overback"){
		$("#banjie").hide();
		$("#tuiban").show();
			
	}else if(right=="Oversuccess"){
		alert("该任务已办结，不能再办结或申请！");
		$("#tuiban").hide();
		$("#banjie").show();
	}
	
	//返回
	$("#return").click(function(){
		 window.location.href="/ag/lzw/task_over_request_list.jsp";       
		});

});	

